CREATE TABLE [dbo].[tb_RelDivisionGrupoSimples]
(
[idDivision] [int] NOT NULL,
[idDivision2] [int] NOT NULL
) ON [PRIMARY]
GO
CREATE UNIQUE NONCLUSTERED INDEX [idx_key] ON [dbo].[tb_RelDivisionGrupoSimples] ([idDivision], [idDivision2]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[tb_RelDivisionGrupoSimples] WITH NOCHECK ADD CONSTRAINT [FK_tb_RelDivisionGrupoSimples_tb_Divisiones] FOREIGN KEY ([idDivision]) REFERENCES [dbo].[tb_Divisiones] ([idDivision])
GO
ALTER TABLE [dbo].[tb_RelDivisionGrupoSimples] WITH NOCHECK ADD CONSTRAINT [FK_tb_RelDivisionGrupoSimples_tb_Divisiones1] FOREIGN KEY ([idDivision2]) REFERENCES [dbo].[tb_Divisiones] ([idDivision])
GO
ALTER TABLE [dbo].[tb_RelDivisionGrupoSimples] NOCHECK CONSTRAINT [FK_tb_RelDivisionGrupoSimples_tb_Divisiones]
GO
ALTER TABLE [dbo].[tb_RelDivisionGrupoSimples] NOCHECK CONSTRAINT [FK_tb_RelDivisionGrupoSimples_tb_Divisiones1]
GO
